import { ref } from 'vue'
export interface User {
  id: number | string
  name: string
  code: string | null
  pid: string | number
  children?: User[]
  hasChild: string | number
}
//渲染数据
export interface classListType {
  _t: string
  column: string
  order: string
  field: string
  pageNo: number
  pageSize: number
}

//渲染子级
export interface classChildListType {
  _t: string
  column: string
  order: string
  field: string
  pageNo: number
  pageSize: number
  pid: number | string
}
//渲染tree数据
export interface classListTreeType {
  pid: number
  tableName: string
  text: string
  code: string
  pidField: string
  hasChildField: string
  condition: string
}
//渲染子级tree
export interface classChildListTreeType {
  pid: number
  tableName: string
  text: string
  code: string
  pidField: string
  hasChildField: string
  condition: string
}
